package o;

import com.huawei.appgallery.festivalanimation.particle.modifiers.SizeModifier;
import o.gaq.e;

public class gan {
    static final /* synthetic */ boolean ʻ = (!gan.class.desiredAssertionStatus());
    private final fzn ʼ = new fzn();
    public gal[] ʽ;
    public gba[] ˊ;
    public gaq[] ˋ = new gaq[256];
    public gag ˎ;
    public gam[] ˏ = new gam[256];
    private final fyp ˏॱ = new fyp();
    public gau[] ॱ;
    private final gat ॱˊ = new gat();
    public int ॱॱ;
    private final fzn ᐝ = new fzn();

    public static class c {
        public gau[] ˊ;
        public int ˋ;
        public gag ˎ;
        public gba[] ˏ;
        public gal[] ॱ;
    }

    public gan() {
        for (int i = 0; i < 256; i++) {
            this.ˏ[i] = new gam();
            this.ˋ[i] = new gaq();
        }
    }

    public final void ॱ(c cVar) {
        int length;
        this.ˎ = cVar.ˎ;
        this.ॱॱ = cVar.ˋ;
        if (this.ˏ.length < this.ॱॱ) {
            Object obj;
            obj = this.ˏ;
            this.ˏ = new gam[fzm.ॱ(obj.length * 2, this.ॱॱ)];
            System.arraycopy(obj, 0, this.ˏ, 0, obj.length);
            for (length = obj.length; length < this.ˏ.length; length++) {
                this.ˏ[length] = new gam();
            }
        }
        if (this.ˋ.length < this.ॱॱ) {
            obj = this.ˋ;
            this.ˋ = new gaq[fzm.ॱ(obj.length * 2, this.ॱॱ)];
            System.arraycopy(obj, 0, this.ˋ, 0, obj.length);
            for (length = obj.length; length < this.ˋ.length; length++) {
                this.ˋ[length] = new gaq();
            }
        }
        this.ॱ = cVar.ˊ;
        this.ˊ = cVar.ˏ;
        this.ʽ = cVar.ॱ;
        length = 0;
        while (length < this.ॱॱ) {
            gal o_gal = this.ʽ[length];
            gab o_gab = o_gal.ʻ;
            gab o_gab2 = o_gal.ʼ;
            fzg ˏ = o_gab.ˏ();
            fzg ˏ2 = o_gab2.ˏ();
            float f = ˏ.ʼ;
            float f2 = ˏ2.ʼ;
            fzt ॱ = o_gab.ॱ();
            fzt ॱ2 = o_gab2.ॱ();
            fyl ॱ3 = o_gal.ॱ();
            int i = ॱ3.ˏ;
            if (ʻ || i > 0) {
                gaq o_gaq = this.ˋ[length];
                o_gaq.ˊॱ = o_gal.ʻॱ;
                o_gaq.ͺ = o_gal.ॱˋ;
                o_gaq.ˏॱ = o_gal.ᐝॱ;
                o_gaq.ˋ = ॱ.ˎ;
                o_gaq.ᐝ = ॱ2.ˎ;
                o_gaq.ʼ = ॱ.ॱᐝ;
                o_gaq.ॱॱ = ॱ2.ॱᐝ;
                o_gaq.ʻ = ॱ.ʽॱ;
                o_gaq.ʽ = ॱ2.ʽॱ;
                o_gaq.ˋॱ = length;
                o_gaq.ॱˊ = i;
                o_gaq.ˎ.ˋ();
                o_gaq.ˊ.ˋ();
                gam o_gam = this.ˏ[length];
                o_gam.ˎ = ॱ.ˎ;
                o_gam.ˊ = ॱ2.ˎ;
                o_gam.ʼ = ॱ.ॱᐝ;
                o_gam.ᐝ = ॱ2.ॱᐝ;
                o_gam.ʽ.ॱ(ॱ.ʻ.ˊ);
                o_gam.ॱॱ.ॱ(ॱ2.ʻ.ˊ);
                o_gam.ʻ = ॱ.ʽॱ;
                o_gam.ˊॱ = ॱ2.ʽॱ;
                o_gam.ˏ.ॱ(ॱ3.ˋ);
                o_gam.ˋ.ॱ(ॱ3.ˎ);
                o_gam.ͺ = i;
                o_gam.ˋॱ = f;
                o_gam.ˏॱ = f2;
                o_gam.ॱˊ = ॱ3.ॱ;
                for (int i2 = 0; i2 < i; i2++) {
                    fyo o_fyo = ॱ3.ˊ[i2];
                    e eVar = o_gaq.ॱ[i2];
                    if (this.ˎ.ॱॱ) {
                        eVar.ˎ = this.ˎ.ˊ * o_fyo.ˎ;
                        eVar.ˊ = this.ˎ.ˊ * o_fyo.ˏ;
                    } else {
                        eVar.ˎ = 0.0f;
                        eVar.ˊ = 0.0f;
                    }
                    eVar.ˏ.ˊ();
                    eVar.ˋ.ˊ();
                    eVar.ॱ = 0.0f;
                    eVar.ʽ = 0.0f;
                    eVar.ʻ = 0.0f;
                    o_gam.ॱ[i2].ˊ = o_fyo.ˊ.ˊ;
                    o_gam.ॱ[i2].ॱ = o_fyo.ˊ.ॱ;
                }
                length++;
            } else {
                throw new AssertionError();
            }
        }
    }

    public void ˎ() {
        for (int i = 0; i < this.ॱॱ; i++) {
            gaq o_gaq = this.ˋ[i];
            int i2 = o_gaq.ˋ;
            int i3 = o_gaq.ᐝ;
            float f = o_gaq.ʼ;
            float f2 = o_gaq.ʻ;
            float f3 = o_gaq.ॱॱ;
            float f4 = o_gaq.ʽ;
            int i4 = o_gaq.ॱˊ;
            fzp o_fzp = this.ˊ[i2].ˎ;
            float f5 = this.ˊ[i2].ˏ;
            fzp o_fzp2 = this.ˊ[i3].ˎ;
            float f6 = this.ˊ[i3].ˏ;
            fzp o_fzp3 = o_gaq.ˏ;
            float f7 = o_fzp3.ॱ * 1.0f;
            float f8 = o_fzp3.ˊ * SizeModifier.STABLE_STATE_SCALE;
            for (int i5 = 0; i5 < i4; i5++) {
                e eVar = o_gaq.ॱ[i5];
                float f9 = (eVar.ˊ * f7) + (o_fzp3.ˊ * eVar.ˎ);
                float f10 = (eVar.ˊ * f8) + (o_fzp3.ॱ * eVar.ˎ);
                f5 -= ((eVar.ˏ.ˊ * f10) - (eVar.ˏ.ॱ * f9)) * f2;
                o_fzp.ˊ -= f9 * f;
                o_fzp.ॱ -= f10 * f;
                f6 += ((eVar.ˋ.ˊ * f10) - (eVar.ˋ.ॱ * f9)) * f4;
                o_fzp2.ˊ += f9 * f3;
                o_fzp2.ॱ += f10 * f3;
            }
            this.ˊ[i2].ˏ = f5;
            this.ˊ[i3].ˏ = f6;
        }
    }

    public final void ˊ() {
        int i = 0;
        while (i < this.ॱॱ) {
            gaq o_gaq = this.ˋ[i];
            gam o_gam = this.ˏ[i];
            float f = o_gam.ˋॱ;
            float f2 = o_gam.ˏॱ;
            fyl ॱ = this.ʽ[o_gaq.ˋॱ].ॱ();
            int i2 = o_gaq.ˋ;
            int i3 = o_gaq.ᐝ;
            float f3 = o_gaq.ʼ;
            float f4 = o_gaq.ॱॱ;
            float f5 = o_gaq.ʻ;
            float f6 = o_gaq.ʽ;
            fzp o_fzp = o_gam.ʽ;
            fzp o_fzp2 = o_gam.ॱॱ;
            fzp o_fzp3 = this.ॱ[i2].ˋ;
            float f7 = this.ॱ[i2].ˎ;
            fzp o_fzp4 = this.ˊ[i2].ˎ;
            float f8 = this.ˊ[i2].ˏ;
            fzp o_fzp5 = this.ॱ[i3].ˋ;
            float f9 = this.ॱ[i3].ˎ;
            fzp o_fzp6 = this.ˊ[i3].ˎ;
            float f10 = this.ˊ[i3].ˏ;
            if (ʻ || ॱ.ˏ > 0) {
                float f11;
                fzi o_fzi = this.ʼ.ˏ;
                fzi o_fzi2 = this.ᐝ.ˏ;
                o_fzi.ˋ(f7);
                o_fzi2.ˋ(f9);
                this.ʼ.ˊ.ˊ = o_fzp3.ˊ - ((o_fzi.ˊ * o_fzp.ˊ) - (o_fzi.ˏ * o_fzp.ॱ));
                this.ʼ.ˊ.ॱ = o_fzp3.ॱ - ((o_fzi.ˊ * o_fzp.ॱ) + (o_fzi.ˏ * o_fzp.ˊ));
                this.ᐝ.ˊ.ˊ = o_fzp5.ˊ - ((o_fzi2.ˊ * o_fzp2.ˊ) - (o_fzi2.ˏ * o_fzp2.ॱ));
                this.ᐝ.ˊ.ॱ = o_fzp5.ॱ - ((o_fzp2.ॱ * o_fzi2.ˊ) + (o_fzi2.ˏ * o_fzp2.ˊ));
                this.ˏॱ.ˋ(ॱ, this.ʼ, f, this.ᐝ, f2);
                fzp o_fzp7 = o_gaq.ˏ;
                o_fzp7.ˊ = this.ˏॱ.ˋ.ˊ;
                o_fzp7.ॱ = this.ˏॱ.ˋ.ॱ;
                int i4 = o_gaq.ॱˊ;
                for (int i5 = 0; i5 < i4; i5++) {
                    e eVar = o_gaq.ॱ[i5];
                    o_fzp2 = this.ˏॱ.ˊ[i5];
                    fzp o_fzp8 = eVar.ˏ;
                    o_fzp = eVar.ˋ;
                    o_fzp8.ˊ = o_fzp2.ˊ - o_fzp3.ˊ;
                    o_fzp8.ॱ = o_fzp2.ॱ - o_fzp3.ॱ;
                    o_fzp.ˊ = o_fzp2.ˊ - o_fzp5.ˊ;
                    o_fzp.ॱ = o_fzp2.ॱ - o_fzp5.ॱ;
                    f11 = (o_fzp8.ˊ * o_fzp7.ॱ) - (o_fzp8.ॱ * o_fzp7.ˊ);
                    f7 = (o_fzp.ˊ * o_fzp7.ॱ) - (o_fzp.ॱ * o_fzp7.ˊ);
                    f11 = ((f11 * (f5 * f11)) + (f3 + f4)) + (f7 * (f6 * f7));
                    eVar.ॱ = f11 > 0.0f ? 1.0f / f11 : 0.0f;
                    f11 = 1.0f * o_fzp7.ॱ;
                    f7 = SizeModifier.STABLE_STATE_SCALE * o_fzp7.ˊ;
                    float f12 = (o_fzp8.ˊ * f7) - (o_fzp8.ॱ * f11);
                    f11 = (f7 * o_fzp.ˊ) - (f11 * o_fzp.ॱ);
                    f11 = (f11 * (f6 * f11)) + ((f3 + f4) + (f12 * (f5 * f12)));
                    eVar.ʽ = f11 > 0.0f ? 1.0f / f11 : 0.0f;
                    eVar.ʻ = 0.0f;
                    f11 = ((((o_fzp6.ˊ + ((-f10) * o_fzp.ॱ)) - o_fzp4.ˊ) - ((-f8) * o_fzp8.ॱ)) * o_fzp7.ˊ) + (((((o_fzp.ˊ * f10) + o_fzp6.ॱ) - o_fzp4.ॱ) - (o_fzp8.ˊ * f8)) * o_fzp7.ॱ);
                    if (f11 < (-fzo.ʻॱ)) {
                        eVar.ʻ = f11 * (-o_gaq.ͺ);
                    }
                }
                if (o_gaq.ॱˊ == 2) {
                    e eVar2 = o_gaq.ॱ[0];
                    e eVar3 = o_gaq.ॱ[1];
                    f = (eVar2.ˏ.ˊ * o_fzp7.ॱ) - (eVar2.ˏ.ॱ * o_fzp7.ˊ);
                    f11 = (eVar2.ˋ.ˊ * o_fzp7.ॱ) - (eVar2.ˋ.ॱ * o_fzp7.ˊ);
                    float f13 = (eVar3.ˏ.ˊ * o_fzp7.ॱ) - (eVar3.ˏ.ॱ * o_fzp7.ˊ);
                    float f14 = (eVar3.ˋ.ˊ * o_fzp7.ॱ) - (eVar3.ˋ.ॱ * o_fzp7.ˊ);
                    f9 = ((f3 + f4) + ((f5 * f) * f)) + ((f6 * f11) * f11);
                    f2 = ((f3 + f4) + ((f5 * f13) * f13)) + ((f6 * f14) * f14);
                    f11 = ((f11 * f6) * f14) + (((f * f5) * f13) + (f3 + f4));
                    if (f9 * f9 < 100.0f * ((f9 * f2) - (f11 * f11))) {
                        o_gaq.ˎ.ॱ.ˊ = f9;
                        o_gaq.ˎ.ॱ.ॱ = f11;
                        o_gaq.ˎ.ˊ.ˊ = f11;
                        o_gaq.ˎ.ˊ.ॱ = f2;
                        o_gaq.ˎ.ˋ(o_gaq.ˊ);
                    } else {
                        o_gaq.ॱˊ = 1;
                    }
                }
                i++;
            } else {
                throw new AssertionError();
            }
        }
    }

    public final void ˋ() {
        int i = 0;
        while (i < this.ॱॱ) {
            gaq o_gaq = this.ˋ[i];
            int i2 = o_gaq.ˋ;
            int i3 = o_gaq.ᐝ;
            float f = o_gaq.ʼ;
            float f2 = o_gaq.ॱॱ;
            float f3 = o_gaq.ʻ;
            float f4 = o_gaq.ʽ;
            int i4 = o_gaq.ॱˊ;
            fzp o_fzp = this.ˊ[i2].ˎ;
            float f5 = this.ˊ[i2].ˏ;
            fzp o_fzp2 = this.ˊ[i3].ˎ;
            float f6 = this.ˊ[i3].ˏ;
            fzp o_fzp3 = o_gaq.ˏ;
            float f7 = o_fzp3.ˊ;
            float f8 = o_fzp3.ॱ;
            float f9 = o_gaq.ˏ.ॱ * 1.0f;
            float f10 = o_gaq.ˏ.ˊ * SizeModifier.STABLE_STATE_SCALE;
            float f11 = o_gaq.ˊॱ;
            if (ʻ || i4 == 1 || i4 == 2) {
                float f12;
                float f13;
                float f14;
                for (int i5 = 0; i5 < i4; i5++) {
                    e eVar = o_gaq.ॱ[i5];
                    fzp o_fzp4 = eVar.ˏ;
                    f12 = ((((-f6) * eVar.ˋ.ॱ) + o_fzp2.ˊ) - o_fzp.ˊ) + (o_fzp4.ॱ * f5);
                    f13 = ((((((eVar.ˋ.ˊ * f6) + o_fzp2.ॱ) - o_fzp.ॱ) - (o_fzp4.ˊ * f5)) * f10) + (f12 * f9)) - o_gaq.ˏॱ;
                    f13 = (-f13) * eVar.ʽ;
                    f12 = eVar.ˎ * f11;
                    f13 = fzm.ˎ(f13 + eVar.ˊ, -f12, f12);
                    f12 = f13 - eVar.ˊ;
                    eVar.ˊ = f13;
                    f13 = f9 * f12;
                    f12 *= f10;
                    o_fzp.ˊ -= f13 * f;
                    o_fzp.ॱ -= f12 * f;
                    f5 -= ((eVar.ˏ.ˊ * f12) - (eVar.ˏ.ॱ * f13)) * f3;
                    o_fzp2.ˊ += f13 * f2;
                    o_fzp2.ॱ += f12 * f2;
                    f6 += ((f12 * eVar.ˋ.ˊ) - (eVar.ˋ.ॱ * f13)) * f4;
                }
                if (o_gaq.ॱˊ == 1) {
                    e eVar2 = o_gaq.ॱ[0];
                    float f15 = -eVar2.ॱ;
                    f14 = (((((((((-f6) * eVar2.ˋ.ॱ) + o_fzp2.ˊ) - o_fzp.ˊ) + (eVar2.ˏ.ॱ * f5)) * f7) + (((((eVar2.ˋ.ˊ * f6) + o_fzp2.ॱ) - o_fzp.ॱ) - (eVar2.ˏ.ˊ * f5)) * f8)) - eVar2.ʻ) * f15) + eVar2.ˎ;
                    if (f14 <= 0.0f) {
                        f14 = 0.0f;
                    }
                    f15 = f14 - eVar2.ˎ;
                    eVar2.ˎ = f14;
                    f14 = f7 * f15;
                    f15 *= f8;
                    o_fzp.ˊ -= f14 * f;
                    o_fzp.ॱ -= f * f15;
                    f5 -= ((eVar2.ˏ.ˊ * f15) - (eVar2.ˏ.ॱ * f14)) * f3;
                    o_fzp2.ˊ += f14 * f2;
                    o_fzp2.ॱ += f2 * f15;
                    f14 = (((eVar2.ˋ.ˊ * f15) - (f14 * eVar2.ˋ.ॱ)) * f4) + f6;
                    f6 = f5;
                } else {
                    e eVar3 = o_gaq.ॱ[0];
                    e eVar4 = o_gaq.ॱ[1];
                    o_fzp3 = eVar3.ˏ;
                    fzp o_fzp5 = eVar3.ˋ;
                    fzp o_fzp6 = eVar4.ˏ;
                    fzp o_fzp7 = eVar4.ˋ;
                    f13 = eVar3.ˎ;
                    f12 = eVar4.ˎ;
                    if (ʻ || (f13 >= 0.0f && f12 >= 0.0f)) {
                        float f16 = ((((((-f6) * o_fzp5.ॱ) + o_fzp2.ˊ) - o_fzp.ˊ) + (o_fzp3.ॱ * f5)) * f7) + (((((o_fzp5.ˊ * f6) + o_fzp2.ॱ) - o_fzp.ॱ) - (o_fzp3.ˊ * f5)) * f8);
                        f16 -= eVar3.ʻ;
                        float f17 = (((((((-f6) * o_fzp7.ॱ) + o_fzp2.ˊ) - o_fzp.ˊ) + (o_fzp6.ॱ * f5)) * f7) + (((((o_fzp7.ˊ * f6) + o_fzp2.ॱ) - o_fzp.ॱ) - (o_fzp6.ˊ * f5)) * f8)) - eVar4.ʻ;
                        fzj o_fzj = o_gaq.ˎ;
                        f16 -= (o_fzj.ॱ.ˊ * f13) + (o_fzj.ˊ.ˊ * f12);
                        f17 -= (o_fzj.ˊ.ॱ * f12) + (o_fzj.ॱ.ॱ * f13);
                        o_fzj = o_gaq.ˊ;
                        float f18 = ((o_fzj.ॱ.ˊ * f16) + (o_fzj.ˊ.ˊ * f17)) * SizeModifier.STABLE_STATE_SCALE;
                        float f19 = ((o_fzj.ˊ.ॱ * f17) + (o_fzj.ॱ.ॱ * f16)) * SizeModifier.STABLE_STATE_SCALE;
                        float f20;
                        if (f18 < 0.0f || f19 < 0.0f) {
                            f19 = (-eVar3.ॱ) * f16;
                            float f21 = (o_gaq.ˎ.ॱ.ॱ * f19) + f17;
                            if (f19 < 0.0f || f21 < 0.0f) {
                                f18 = (-eVar4.ॱ) * f17;
                                f20 = (o_gaq.ˎ.ˊ.ˊ * f18) + f16;
                                if (f18 >= 0.0f && f20 >= 0.0f) {
                                    f20 = 0.0f - f13;
                                    f13 = f18 - f12;
                                    f12 = f7 * f20;
                                    f20 *= f8;
                                    f7 *= f13;
                                    f8 *= f13;
                                    o_fzp.ˊ -= (f12 + f7) * f;
                                    o_fzp.ॱ -= f * (f20 + f8);
                                    o_fzp2.ˊ += (f12 + f7) * f2;
                                    o_fzp2.ॱ += f2 * (f20 + f8);
                                    f5 -= (((o_fzp3.ˊ * f20) - (o_fzp3.ॱ * f12)) + ((o_fzp6.ˊ * f8) - (o_fzp6.ॱ * f7))) * f3;
                                    f14 = ((((o_fzp5.ˊ * f20) - (o_fzp5.ॱ * f12)) + ((o_fzp7.ˊ * f8) - (o_fzp7.ॱ * f7))) * f4) + f6;
                                    eVar3.ˎ = 0.0f;
                                    eVar4.ˎ = f18;
                                    f6 = f5;
                                } else if (f16 < 0.0f || f17 < 0.0f) {
                                    f14 = f6;
                                    f6 = f5;
                                } else {
                                    f13 = 0.0f - f13;
                                    f12 = 0.0f - f12;
                                    f16 = f7 * f13;
                                    f13 *= f8;
                                    f7 *= f12;
                                    f8 *= f12;
                                    o_fzp.ˊ -= (f16 + f7) * f;
                                    o_fzp.ॱ -= f * (f13 + f8);
                                    o_fzp2.ˊ += (f16 + f7) * f2;
                                    o_fzp2.ॱ += f2 * (f13 + f8);
                                    f5 -= (((o_fzp3.ˊ * f13) - (o_fzp3.ॱ * f16)) + ((o_fzp6.ˊ * f8) - (o_fzp6.ॱ * f7))) * f3;
                                    f14 = ((((o_fzp5.ˊ * f13) - (o_fzp5.ॱ * f16)) + ((o_fzp7.ˊ * f8) - (o_fzp7.ॱ * f7))) * f4) + f6;
                                    eVar3.ˎ = 0.0f;
                                    eVar4.ˎ = 0.0f;
                                    f6 = f5;
                                }
                            } else {
                                f20 = f19 - f13;
                                f13 = 0.0f - f12;
                                f12 = f7 * f20;
                                f20 *= f8;
                                f7 *= f13;
                                f8 *= f13;
                                o_fzp.ˊ -= (f12 + f7) * f;
                                o_fzp.ॱ -= f * (f20 + f8);
                                o_fzp2.ˊ += (f12 + f7) * f2;
                                o_fzp2.ॱ += f2 * (f20 + f8);
                                f5 -= (((o_fzp3.ˊ * f20) - (o_fzp3.ॱ * f12)) + ((o_fzp6.ˊ * f8) - (o_fzp6.ॱ * f7))) * f3;
                                f14 = ((((o_fzp5.ˊ * f20) - (o_fzp5.ॱ * f12)) + ((o_fzp7.ˊ * f8) - (o_fzp7.ॱ * f7))) * f4) + f6;
                                eVar3.ˎ = f19;
                                eVar4.ˎ = 0.0f;
                                f6 = f5;
                            }
                        } else {
                            f20 = f18 - f13;
                            f13 = f19 - f12;
                            f12 = f20 * f7;
                            f20 *= f8;
                            f7 *= f13;
                            f8 *= f13;
                            o_fzp.ˊ -= (f12 + f7) * f;
                            o_fzp.ॱ -= f * (f20 + f8);
                            o_fzp2.ˊ += (f12 + f7) * f2;
                            o_fzp2.ॱ += f2 * (f20 + f8);
                            f5 -= (((o_fzp3.ˊ * f20) - (o_fzp3.ॱ * f12)) + ((o_fzp6.ˊ * f8) - (o_fzp6.ॱ * f7))) * f3;
                            f14 = ((((o_fzp5.ˊ * f20) - (o_fzp5.ॱ * f12)) + ((o_fzp7.ˊ * f8) - (o_fzp7.ॱ * f7))) * f4) + f6;
                            eVar3.ˎ = f18;
                            eVar4.ˎ = f19;
                            f6 = f5;
                        }
                    } else {
                        throw new AssertionError();
                    }
                }
                this.ˊ[i2].ˏ = f6;
                this.ˊ[i3].ˏ = f14;
                i++;
            } else {
                throw new AssertionError();
            }
        }
    }

    public void ˏ() {
        for (int i = 0; i < this.ॱॱ; i++) {
            gaq o_gaq = this.ˋ[i];
            fyl ॱ = this.ʽ[o_gaq.ˋॱ].ॱ();
            for (int i2 = 0; i2 < o_gaq.ॱˊ; i2++) {
                ॱ.ˊ[i2].ˎ = o_gaq.ॱ[i2].ˎ;
                ॱ.ˊ[i2].ˏ = o_gaq.ॱ[i2].ˊ;
            }
        }
    }

    public final boolean ॱ() {
        float f = 0.0f;
        for (int i = 0; i < this.ॱॱ; i++) {
            gam o_gam = this.ˏ[i];
            int i2 = o_gam.ˎ;
            int i3 = o_gam.ˊ;
            float f2 = o_gam.ʼ;
            float f3 = o_gam.ʻ;
            fzp o_fzp = o_gam.ʽ;
            float f4 = o_fzp.ˊ;
            float f5 = o_fzp.ॱ;
            float f6 = o_gam.ᐝ;
            float f7 = o_gam.ˊॱ;
            o_fzp = o_gam.ॱॱ;
            float f8 = o_fzp.ˊ;
            float f9 = o_fzp.ॱ;
            int i4 = o_gam.ͺ;
            fzp o_fzp2 = this.ॱ[i2].ˋ;
            float f10 = this.ॱ[i2].ˎ;
            fzp o_fzp3 = this.ॱ[i3].ˋ;
            float f11 = this.ॱ[i3].ˎ;
            int i5 = 0;
            while (i5 < i4) {
                fzi o_fzi = this.ʼ.ˏ;
                fzi o_fzi2 = this.ᐝ.ˏ;
                o_fzi.ˋ(f10);
                o_fzi2.ˋ(f11);
                this.ʼ.ˊ.ˊ = (o_fzp2.ˊ - (o_fzi.ˊ * f4)) + (o_fzi.ˏ * f5);
                this.ʼ.ˊ.ॱ = (o_fzp2.ॱ - (o_fzi.ˏ * f4)) - (o_fzi.ˊ * f5);
                this.ᐝ.ˊ.ˊ = (o_fzp3.ˊ - (o_fzi2.ˊ * f8)) + (o_fzi2.ˏ * f9);
                this.ᐝ.ˊ.ॱ = (o_fzp3.ॱ - (o_fzi2.ˏ * f8)) - (o_fzi2.ˊ * f9);
                gat o_gat = this.ॱˊ;
                o_gat.ˏ(o_gam, this.ʼ, this.ᐝ, i5);
                fzp o_fzp4 = o_gat.ˋ;
                fzp o_fzp5 = o_gat.ˎ;
                float f12 = o_gat.ˏ;
                float f13 = o_fzp5.ˊ - o_fzp2.ˊ;
                float f14 = o_fzp5.ॱ - o_fzp2.ॱ;
                float f15 = o_fzp5.ˊ - o_fzp3.ˊ;
                float f16 = o_fzp5.ॱ - o_fzp3.ॱ;
                float ॱ = fzm.ॱ(f, f12);
                f = fzm.ˎ(fzo.ˉ * (f12 + fzo.ॱˊ), -fzo.ॱˋ, 0.0f);
                f12 = (o_fzp4.ॱ * f13) - (o_fzp4.ˊ * f14);
                float f17 = (o_fzp4.ॱ * f15) - (o_fzp4.ˊ * f16);
                f12 = ((f12 * (f3 * f12)) + (f2 + f6)) + (f17 * (f7 * f17));
                f = f12 > 0.0f ? (-f) / f12 : 0.0f;
                f12 = o_fzp4.ˊ * f;
                f *= o_fzp4.ॱ;
                o_fzp2.ˊ -= f12 * f2;
                o_fzp2.ॱ -= f * f2;
                f10 -= ((f13 * f) - (f14 * f12)) * f3;
                o_fzp3.ˊ += f12 * f6;
                o_fzp3.ॱ += f * f6;
                f11 += ((f * f15) - (f16 * f12)) * f7;
                i5++;
                f = ॱ;
            }
            this.ॱ[i2].ˎ = f10;
            this.ॱ[i3].ˎ = f11;
        }
        return f >= -3.0f * fzo.ॱˊ;
    }

    public boolean ॱ(int i, int i2) {
        float f = 0.0f;
        for (int i3 = 0; i3 < this.ॱॱ; i3++) {
            float f2;
            float f3;
            float f4;
            gam o_gam = this.ˏ[i3];
            int i4 = o_gam.ˎ;
            int i5 = o_gam.ˊ;
            fzp o_fzp = o_gam.ʽ;
            fzp o_fzp2 = o_gam.ॱॱ;
            float f5 = o_fzp.ˊ;
            float f6 = o_fzp.ॱ;
            float f7 = o_fzp2.ˊ;
            float f8 = o_fzp2.ॱ;
            int i6 = o_gam.ͺ;
            if (i4 == i || i4 == i2) {
                f2 = o_gam.ʼ;
                f3 = o_gam.ʻ;
                f4 = f2;
            } else {
                f3 = 0.0f;
                f4 = 0.0f;
            }
            f2 = 0.0f;
            float f9 = 0.0f;
            if (i5 == i || i5 == i2) {
                f2 = o_gam.ᐝ;
                f9 = o_gam.ˊॱ;
            }
            fzp o_fzp3 = this.ॱ[i4].ˋ;
            float f10 = this.ॱ[i4].ˎ;
            fzp o_fzp4 = this.ॱ[i5].ˋ;
            float f11 = this.ॱ[i5].ˎ;
            int i7 = 0;
            while (i7 < i6) {
                fzi o_fzi = this.ʼ.ˏ;
                fzi o_fzi2 = this.ᐝ.ˏ;
                o_fzi.ˋ(f10);
                o_fzi2.ˋ(f11);
                this.ʼ.ˊ.ˊ = (o_fzp3.ˊ - (o_fzi.ˊ * f5)) + (o_fzi.ˏ * f6);
                this.ʼ.ˊ.ॱ = (o_fzp3.ॱ - (o_fzi.ˏ * f5)) - (o_fzi.ˊ * f6);
                this.ᐝ.ˊ.ˊ = (o_fzp4.ˊ - (o_fzi2.ˊ * f7)) + (o_fzi2.ˏ * f8);
                this.ᐝ.ˊ.ॱ = (o_fzp4.ॱ - (o_fzi2.ˏ * f7)) - (o_fzi2.ˊ * f8);
                gat o_gat = this.ॱˊ;
                o_gat.ˏ(o_gam, this.ʼ, this.ᐝ, i7);
                fzp o_fzp5 = o_gat.ˋ;
                fzp o_fzp6 = o_gat.ˎ;
                float f12 = o_gat.ˏ;
                float f13 = o_fzp6.ˊ - o_fzp3.ˊ;
                float f14 = o_fzp6.ॱ - o_fzp3.ॱ;
                float f15 = o_fzp6.ˊ - o_fzp4.ˊ;
                float f16 = o_fzp6.ॱ - o_fzp4.ॱ;
                float ॱ = fzm.ॱ(f, f12);
                f = fzm.ˎ(fzo.ˊˊ * (f12 + fzo.ॱˊ), -fzo.ॱˋ, 0.0f);
                f12 = (o_fzp5.ॱ * f13) - (o_fzp5.ˊ * f14);
                float f17 = (o_fzp5.ॱ * f15) - (o_fzp5.ˊ * f16);
                f12 = ((f12 * (f3 * f12)) + (f4 + f2)) + (f17 * (f9 * f17));
                f = f12 > 0.0f ? (-f) / f12 : 0.0f;
                f12 = o_fzp5.ˊ * f;
                f *= o_fzp5.ॱ;
                o_fzp3.ˊ -= f12 * f4;
                o_fzp3.ॱ -= f * f4;
                f10 -= ((f13 * f) - (f14 * f12)) * f3;
                o_fzp4.ˊ += f12 * f2;
                o_fzp4.ॱ += f * f2;
                f11 += ((f * f15) - (f16 * f12)) * f9;
                i7++;
                f = ॱ;
            }
            this.ॱ[i4].ˎ = f10;
            this.ॱ[i5].ˎ = f11;
        }
        return f >= -1.5f * fzo.ॱˊ;
    }
}
